package com.bgds.sys.module.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

/**
 * 报警设备DTO
 * @author lj
 */
@Data
@ToString
@ApiModel(value = "报警设备")
public class AlarmDeviceDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "报警信息id")
    private Long logId;

    @ApiModelProperty(value = "区域")
    private String regionName;

    @ApiModelProperty(value = "设备编号")
    private String deviceCode;

    @ApiModelProperty(value = "设备名称")
    private String deviceName;

    @ApiModelProperty(value = "报警时间")
    private Long alarmTime;

    public AlarmDeviceDto() {
    }

    public AlarmDeviceDto(Long logId, String regionName, String deviceCode, String deviceName, Long alarmTime) {
        this.logId = logId;
        this.regionName = regionName;
        this.deviceCode = deviceCode;
        this.deviceName = deviceName;
        this.alarmTime = alarmTime;
    }

}
